package org.interfaceadaptation.parameter.expression.impl;

public class RootContext extends AbstractExpressionContext {
	
	private static final Object ROOT_NOT_ASSIGNED = new Object();
	
	private Object root = ROOT_NOT_ASSIGNED;
	
	public RootContext(Root expression) {
		super(expression);
	}
	
	public Object getRoot() {
		return root;
	}
	
	public void setRoot(Object root) {
		this.root = root;
	}
	
	public boolean rootNotAssigned() {
		return root == ROOT_NOT_ASSIGNED;
	}


}
